#ifndef COMPONENT_H_
#define COMPONENT_H_

#include <stdlib.h>

#include "sync.h"

typedef struct {
	float x;
	float y;
	float z;
} vertex;

float frand(float min, float max);

class Component {
public:
	Component(Sync* sync);
	virtual ~Component();

	virtual void initialize() = 0;
	virtual void draw(float time, float dt, float alpha) = 0;

protected:
	Sync* sync;
};


#endif /* COMPONENT_H_ */
